package com.ruoyi.admin.domain.vo.response.returnGood;

import com.ruoyi.admin.domain.entity.ReturnGoodsModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.beans.BeanUtils;



/**
 * 退货表返回数据实体
 *
 * @author jianhan
 * @date 2023-02-01 13:51:12
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ReturnGoodsResponse {


    @ApiModelProperty(value = "主键", required = true)
    private Long id;

    @ApiModelProperty(value = "排单表id", required = true)
    private Long schedulingId;

    @ApiModelProperty(value = "退回数量", required = true)
    private Integer returnNum;

    public ReturnGoodsResponse(ReturnGoodsModel returnGoodsModel) {
        BeanUtils.copyProperties(returnGoodsModel, this);
    }

}
